package com.xpc.dateapi.service;

/**
 * @Classname IDateApiService
 * @Created by xpc
 * @Date 2021/10/18 16:49
 * @version: 1.0
 */
public interface IDateApiService {

    /**
     * 单个日期的查询
     *
     * @param: date
     * @return: 0,1,2
     * @createAuthor: xpc
     * @createDate: 2021-10-18 16:57
     * @version: 1.0
     */
    String singleDate(String date);

    /**
     * 多个日期的查询
     *
     * @param: dates
     * @return: {data:0,1,2}
     * @createAuthor: xpc
     * @createDate: 2021-10-18 16:57
     * @version: 1.0
     */
    String moreDate(String[] dates);
}
